<?php


namespace App\Models;


class ImFtfGroupUsers extends BaseModel
{
    //面对面建群用户表
    protected $table = 'im_ftf_group_users';

    public $timestamps = false;

    //临时群用户
    public function user()
    {
        return $this->belongsTo(ImUsers::class, 'user_id', 'id')
            ->select(['id', 'nickname', 'headimg']);
    }
}
